//
//  TipComment
//  Model
//
//  Created by Suny on 15/4/2.
//  Copyright (c) 2015年 Sina. All rights reserved.
//

#import <Foundation/Foundation.h>


#define TIPCOMMENTENTITY_COMMENTID_KEY 	@"commentId"
#define TIPCOMMENTENTITY_COMMENTERID_KEY 	@"commenterId"
#define TIPCOMMENTENTITY_COMMENTERHEADPHOTO_KEY 	@"commenterHeadPhoto"
#define TIPCOMMENTENTITY_COMMENTERNICKNAME_KEY 	@"commenterNickName"
#define TIPCOMMENTENTITY_COMMENTCONTENT_KEY 	@"commentContent"
#define TIPCOMMENTENTITY_CREATETIME_KEY 	@"createTime"

typedef NS_ENUM(NSInteger, CommentType)
{
	CommentTypeNomal,
	CommentTypeReply
};


@interface TipComment : BaseEntity<NSCoding>

/**
	被评论对象ID(技巧ID)
 */
@property (nonatomic,copy) NSString *commentObjectId;	
/**
   评论ID
*/
@property (nonatomic,copy) NSString *commentId;
/**
   评论者ID
*/
@property (nonatomic,copy) NSString *commenterId;
/**
   评论者头像
*/
@property (nonatomic,copy) NSString *commenterHeadPhoto;
/**
   评论者昵称
*/
@property (nonatomic,copy) NSString *commenterNickName;
/**
   评论内容
*/
@property (nonatomic,copy) NSString *commentContent;
/**
   评论时间
*/
@property (nonatomic,copy) NSString *createTime;

/**
   评论类型
 */
@property (nonatomic,copy,readonly) NSString *type;


@property (nonatomic,assign) CommentType commentType;

@end
